package com.example.carproviderbackstage.mapper.dl.admin;

import com.example.carinterface.utils.ResultJson;

import java.util.List;
import java.util.Map;

public interface BannerMapper {
    List<Map<String, Object>> findAll();

    int delById(Integer id);

    Map<String, Object> findById(Integer id);

    int updateBanner(Map<String, Object> map);

    int  addBanner(Map<String, Object> map);

    Integer findMaxSort();

    int moveBanner(List<Map<String, Object>> list);

    Map<String, Object> findGtBanner(Map<String, Object> list);

    Map<String, Object> findLtBanner(Map<String, Object> list);
}
